package com.andaily.domain.user;

import com.andaily.domain.AbstractDomain;

/**
 * @author Shengzhao Li
 */
public class UserSetting extends AbstractDomain {

    /**
     * Refer User domain
     */
    private User user;

    private AccountSetting accountSetting = new AccountSetting();

    private LogSetting logSetting = new LogSetting();

    private ThingSetting thingSetting = new ThingSetting();

    /**
     * Default constructor
     */
    public UserSetting() {
    }

    public UserSetting(User user) {
        this.user = user;
    }

    public User user() {
        return user;
    }

    public AccountSetting accountSetting() {
        return accountSetting;
    }

    public LogSetting logSetting() {
        return logSetting;
    }

    public ThingSetting thingSetting() {
        return thingSetting;
    }
}
